package com.bafa.front.events;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bafa.front.presentationbeans.FixturesListBean;
import com.bafa.front.utils.FrontUtils;
import com.bafa.objects.PageBean;
import com.bafa.services.RetrieveServices;

public class DisplayRescheduleMatchEvent extends Event {

	@Override
	public void doEvent(HttpServletRequest request,
			HttpServletResponse response, PageBean page) {
		request.setAttribute("FIXTURES",new FixturesListBean(RetrieveServices.getAllUnplayedMatches(),FrontUtils.getThisSeason(request).getId()));

	}

}
